package com.luhuiguo.gwt.mvp.dispatcher.shared.event;

import com.google.gwt.event.shared.GwtEvent;

public class AccessDeniedEvent extends GwtEvent<AccessDeniedEventHandler> {

    public static Type<AccessDeniedEventHandler> TYPE = new Type<AccessDeniedEventHandler>();

    @Override
    protected void dispatch(AccessDeniedEventHandler handler) {
        handler.onAccessDenied(this);

    }

    @Override
    public com.google.gwt.event.shared.GwtEvent.Type<AccessDeniedEventHandler> getAssociatedType() {
        return TYPE;
    }

}
